#include <iostream>
#include <cstring>

using namespace std;

int strcmp(char * a, char * b)
{
	int i = 0;
	while(a[i] == b[i])
	{
		i ++;
	}
	return a[i] - b[i];
}

int main(void)
{
	char a[40] = "pwnfo";
	char b[40] = "fowfoizvcx";
	int num = strcmp(a, b);
		
	cout << num << endl;

	return 0;
}
